<!--

     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.

-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- **************************************************************** -->
<!-- *  PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
<!-- *  i.e. only iterate & print data where possible. Thanks, Jez. * -->
<!-- **************************************************************** -->

<html>
<head>
    <!-- Generated by groovydoc (2.4.5) on Mon Sep 12 08:35:19 CEST 2016 -->
    <title>MongoClient (Groovy Documentation)</title>
    <meta name="date" content="2016-09-12">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="../../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
    <link href="../../../../../groovy.ico" type="image/x-icon" rel="icon">
    <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">

<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
    parent.document.title="MongoClient (Groovy Documentation)";
}
//-->
</script>
<noscript>
    <div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
    <!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../../../index-all.html">Index</a></li>
        <li><a href="../../../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../../../index.html?io/vertx/groovy/ext/mongo/MongoClient" target="_top">Frames</a></li>
            <li><a href="MongoClient.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <a name="skip-navbar_top">
        <!--   -->
    </a></div>
<!-- ========= END OF TOP NAVBAR ========= -->

<!-- ======== START OF CLASS DATA ======== -->
<div class="header">

    <div class="subTitle">Package: <strong>io.vertx.groovy.ext.mongo</strong></div>

    <h2 title="[Groovy] Class MongoClient" class="title">[Groovy] Class MongoClient</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><ul class="inheritance"></ul></li><li>io.vertx.groovy.ext.mongo.MongoClient
</ul>
<div class="description">
    <ul class="blockList">
        <li class="blockList">



    <p> A Vert.x service used to interact with MongoDB server instances.
 <p>
 Some of the operations might change <i>_id</i> field of passed  document.
</p>

          </li>
    </ul>
</div>

<div class="summary">
    <ul class="blockList">
        <li class="blockList">
        <!-- =========== NESTED CLASS SUMMARY =========== -->
        

        <!-- =========== ENUM CONSTANT SUMMARY =========== -->
        
        <!-- =========== FIELD SUMMARY =========== -->
        

        <!-- =========== PROPERTY SUMMARY =========== -->
        

        <!-- =========== ELEMENT SUMMARY =========== -->
        

        
        <!-- ======== CONSTRUCTOR SUMMARY ======== -->
        <ul class="blockList">
                <li class="blockList"><a name="constructor_summary"><!--   --></a>
                    <h3>Constructor Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructors Summary table">
                        <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Constructor and description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst">
                                <code><a href="#MongoClient(java.lang.Object)">MongoClient</a></strong>
                                (java.lang.Object delegate)</code><br></td>
                        </tr>
                        
                    </table>
                   </ul>
              </li>
        </ul>
        

        
        <!-- ========== METHOD SUMMARY =========== -->
        <ul class="blockList">
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Methods Summary table">
                        <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Type</th>
                            <th class="colLast" scope="col">Name and description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#close()">close</a></strong>()</code><br>Close the client and release its resources</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#count(java.lang.String, Map<String, Object>, Handler<AsyncResult<Long>>)">count</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Long&gt;&gt; resultHandler)</code><br>Count matching documents in a collection.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#createCollection(java.lang.String, Handler<AsyncResult<Void>>)">createCollection</a></strong>(java.lang.String collectionName, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Create a new collection</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#createIndex(java.lang.String, Map<String, Object>, Handler<AsyncResult<Void>>)">createIndex</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; key, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Creates an index.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#createIndexWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Void>>)">createIndexWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; key, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Creates an index.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>static&nbsp;<a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#createNonShared(io.vertx.groovy.core.Vertx, Map<String, Object>)">createNonShared</a></strong>(<a href='../../../../../io/vertx/groovy/core/Vertx.html'>Vertx</a> vertx, java.util.Map&lt;java.lang.String, java.lang.Object&gt; config)</code><br>Create a Mongo client which maintains its own data source.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>static&nbsp;<a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#createShared(io.vertx.groovy.core.Vertx, Map<String, Object>, java.lang.String)">createShared</a></strong>(<a href='../../../../../io/vertx/groovy/core/Vertx.html'>Vertx</a> vertx, java.util.Map&lt;java.lang.String, java.lang.Object&gt; config, java.lang.String dataSourceName)</code><br>Create a Mongo client which shares its data source with any other Mongo clients created with the same
 data source name</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>static&nbsp;<a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#createShared(io.vertx.groovy.core.Vertx, Map<String, Object>)">createShared</a></strong>(<a href='../../../../../io/vertx/groovy/core/Vertx.html'>Vertx</a> vertx, java.util.Map&lt;java.lang.String, java.lang.Object&gt; config)</code><br>Like <a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html#createShared' title='MongoClient.createShared'>MongoClient.createShared</a> but with the default data source name</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#distinct(java.lang.String, java.lang.String, java.lang.String, Handler<AsyncResult<List<Object>>>)">distinct</a></strong>(java.lang.String collection, java.lang.String fieldName, java.lang.String resultClassname, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.List&lt;java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Gets the distinct values of the specified field name.
 </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#distinctBatch(java.lang.String, java.lang.String, java.lang.String, Handler<AsyncResult<Map<String, Object>>>)">distinctBatch</a></strong>(java.lang.String collection, java.lang.String fieldName, java.lang.String resultClassname, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Gets the distinct values of the specified field name.
 </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#dropCollection(java.lang.String, Handler<AsyncResult<Void>>)">dropCollection</a></strong>(java.lang.String collection, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Drop a collection</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#dropIndex(java.lang.String, java.lang.String, Handler<AsyncResult<Void>>)">dropIndex</a></strong>(java.lang.String collection, java.lang.String indexName, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Drops the index given its name.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#find(java.lang.String, Map<String, Object>, Handler<AsyncResult<List<Map<String, Object>>>>)">find</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.List&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt;&gt; resultHandler)</code><br>Find matching documents in the specified collection</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#findBatch(java.lang.String, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)">findBatch</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Find matching documents in the specified collection.
 </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#findBatchWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)">findBatchWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Find matching documents in the specified collection, specifying options.
 </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#findOne(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)">findOne</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; fields, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Find a single matching document in the specified collection</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#findWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<List<Map<String, Object>>>>)">findWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.List&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt;&gt; resultHandler)</code><br>Find matching documents in the specified collection, specifying options</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#getCollections(Handler<AsyncResult<List<String>>>)">getCollections</a></strong>(io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.List&lt;java.lang.String&gt;&gt;&gt; resultHandler)</code><br>Get a list of all collections in the database.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.lang.Object</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getDelegate()">getDelegate</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#insert(java.lang.String, Map<String, Object>, Handler<AsyncResult<String>>)">insert</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; document, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.String&gt;&gt; resultHandler)</code><br>Insert a document in the specified collection</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#insertWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<String>>)">insertWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; document, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.String&gt;&gt; resultHandler)</code><br>Insert a document in the specified collection with the specified write option</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#listIndexes(java.lang.String, Handler<AsyncResult<List<Object>>>)">listIndexes</a></strong>(java.lang.String collection, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.List&lt;java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Get all the indexes in this collection.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#remove(java.lang.String, Map<String, Object>, Handler<AsyncResult<Void>>)">remove</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Remove matching documents from a collection</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#removeDocument(java.lang.String, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)">removeDocument</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#removeDocumentWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<Map<String, Object>>>)">removeDocumentWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#removeDocuments(java.lang.String, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)">removeDocuments</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Remove matching documents from a collection and return the handler with MongoClientDeleteResult result</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#removeDocumentsWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<Map<String, Object>>>)">removeDocumentsWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Remove matching documents from a collection with the specified write option and return the handler with MongoClientDeleteResult result</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#removeOne(java.lang.String, Map<String, Object>, Handler<AsyncResult<Void>>)">removeOne</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Remove a single matching document from a collection</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#removeOneWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<Void>>)">removeOneWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Remove a single matching document from a collection with the specified write option</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#removeWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<Void>>)">removeWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Remove matching documents from a collection with the specified write option</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#replace(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Void>>)">replace</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; replace, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Replace matching documents in the specified collection</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#replaceDocuments(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)">replaceDocuments</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; replace, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#replaceDocumentsWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)">replaceDocumentsWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; replace, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#replaceWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Void>>)">replaceWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; replace, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Replace matching documents in the specified collection, specifying options</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#runCommand(java.lang.String, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)">runCommand</a></strong>(java.lang.String commandName, java.util.Map&lt;java.lang.String, java.lang.Object&gt; command, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Run an arbitrary MongoDB command.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#save(java.lang.String, Map<String, Object>, Handler<AsyncResult<String>>)">save</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; document, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.String&gt;&gt; resultHandler)</code><br>Save a document in the specified collection</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#saveWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<String>>)">saveWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; document, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.String&gt;&gt; resultHandler)</code><br>Save a document in the specified collection with the specified write option</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#update(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Void>>)">update</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; update, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Update matching documents in the specified collection</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#updateCollection(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)">updateCollection</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; update, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#updateCollectionWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)">updateCollectionWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; update, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</code><br>Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#updateWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Void>>)">updateWithOptions</a></strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; update, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</code><br>Update matching documents in the specified collection, specifying options</td>
                        </tr>
                        
                    </table>
                   </ul>
              </li>
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Inherited Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited Methods Summary table">
                        <caption><span>Inherited Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Methods inherited from class</th>
                            <th class="colLast" scope="col">Name</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>class java.lang.Object</strong></code></td>
                            <td class="colLast"><code>java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()</code></td>
                        </tr>
                    </table>
                   </ul>
              </li>
                
        </ul>
        
    </li>
    </ul>
</div>

<div class="details">
    <ul class="blockList">
        <li class="blockList">
           

            

            

            

            
            <!-- =========== CONSTRUCTOR DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="constructor_detail">
                    <!--   -->
                </a>
                    <h3>Constructor Detail</h3>
                    
                        <a name="MongoClient(java.lang.Object)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><strong>MongoClient</strong>(java.lang.Object delegate)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            


            
            <!-- =========== METHOD DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="method_detail">
                    <!--   -->
                </a>
                    <h3>Method Detail</h3>
                    
                        <a name="close()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>void <strong>close</strong>()</h4>
                                <p> Close the client and release its resources
   </p>
                            </li>
                        </ul>
                    
                        <a name="count(java.lang.String, Map<String, Object>, Handler<AsyncResult<Long>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>count</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Long&gt;&gt; resultHandler)</h4>
                                <p> Count matching documents in a collection. <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match documents</DD><DD><code>resultHandler</code> -  will be provided with the number of matching documents</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="createCollection(java.lang.String, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>createCollection</strong>(java.lang.String collectionName, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Create a new collection <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collectionName</code> -  the name of the collection</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="createIndex(java.lang.String, Map<String, Object>, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>createIndex</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; key, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Creates an index. <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>key</code> -  A document that contains the field and value pairs where the field is the index key and the value describes the type of index for that field. For an ascending index on a field, specify a value of 1; for descending index, specify a value of -1.</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="createIndexWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>createIndexWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; key, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Creates an index. <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>key</code> -  A document that contains the field and value pairs where the field is the index key and the value describes the type of index for that field. For an ascending index on a field, specify a value of 1; for descending index, specify a value of -1.</DD><DD><code>options</code> -  the options for the index (see <a href="../../../../../../../cheatsheet/IndexOptions.html">IndexOptions</a>)</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="createNonShared(io.vertx.groovy.core.Vertx, Map<String, Object>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>static&nbsp;<a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>createNonShared</strong>(<a href='../../../../../io/vertx/groovy/core/Vertx.html'>Vertx</a> vertx, java.util.Map&lt;java.lang.String, java.lang.Object&gt; config)</h4>
                                <p> Create a Mongo client which maintains its own data source.
   <DL><DT><B>Returns:</B></DT><DD>the client</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>vertx</code> -  the Vert.x instance</DD><DD><code>config</code> -  the configuration</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="createShared(io.vertx.groovy.core.Vertx, Map<String, Object>, java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>static&nbsp;<a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>createShared</strong>(<a href='../../../../../io/vertx/groovy/core/Vertx.html'>Vertx</a> vertx, java.util.Map&lt;java.lang.String, java.lang.Object&gt; config, java.lang.String dataSourceName)</h4>
                                <p> Create a Mongo client which shares its data source with any other Mongo clients created with the same
 data source name
   <DL><DT><B>Returns:</B></DT><DD>the client</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>vertx</code> -  the Vert.x instance</DD><DD><code>config</code> -  the configuration</DD><DD><code>dataSourceName</code> -  the data source name</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="createShared(io.vertx.groovy.core.Vertx, Map<String, Object>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>static&nbsp;<a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>createShared</strong>(<a href='../../../../../io/vertx/groovy/core/Vertx.html'>Vertx</a> vertx, java.util.Map&lt;java.lang.String, java.lang.Object&gt; config)</h4>
                                <p> Like <a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html#createShared' title='MongoClient.createShared'>MongoClient.createShared</a> but with the default data source name
   <DL><DT><B>Returns:</B></DT><DD>the client</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>vertx</code> -  the Vert.x instance</DD><DD><code>config</code> -  the configuration</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="distinct(java.lang.String, java.lang.String, java.lang.String, Handler<AsyncResult<List<Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>distinct</strong>(java.lang.String collection, java.lang.String fieldName, java.lang.String resultClassname, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.List&lt;java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Gets the distinct values of the specified field name.
 Return a JsonArray containing distinct values (eg: [ 1 , 89 ]) <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>fieldName</code> -  the field name</DD><DD>resultClassname</DD><DD><code>resultHandler</code> -  will be provided with array of values.</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="distinctBatch(java.lang.String, java.lang.String, java.lang.String, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>distinctBatch</strong>(java.lang.String collection, java.lang.String fieldName, java.lang.String resultClassname, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Gets the distinct values of the specified field name.
 This method use batchCursor for returning each found value.
 Each value is a json fragment with fieldName key (eg: {"num": 1}). <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>fieldName</code> -  the field name</DD><DD>resultClassname</DD><DD><code>resultHandler</code> -  will be provided with each found value</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="dropCollection(java.lang.String, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>dropCollection</strong>(java.lang.String collection, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Drop a collection <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="dropIndex(java.lang.String, java.lang.String, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>dropIndex</strong>(java.lang.String collection, java.lang.String indexName, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Drops the index given its name. <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>indexName</code> -  the name of the index to remove</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="find(java.lang.String, Map<String, Object>, Handler<AsyncResult<List<Map<String, Object>>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>find</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.List&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt;&gt; resultHandler)</h4>
                                <p> Find matching documents in the specified collection <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match documents</DD><DD><code>resultHandler</code> -  will be provided with list of documents</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="findBatch(java.lang.String, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>findBatch</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Find matching documents in the specified collection.
 This method use batchCursor for returning each found document. <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match documents</DD><DD><code>resultHandler</code> -  will be provided with each found document</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="findBatchWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>findBatchWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Find matching documents in the specified collection, specifying options.
 This method use batchCursor for returning each found document. <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match documents</DD><DD><code>options</code> -  options to configure the find (see <a href="../../../../../../../cheatsheet/FindOptions.html">FindOptions</a>)</DD><DD><code>resultHandler</code> -  will be provided with each found document</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="findOne(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>findOne</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; fields, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Find a single matching document in the specified collection
 <p>
 This operation might change <i>_id</i> field of <i>query</i> parameter <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  the query used to match the document</DD><DD><code>fields</code> -  the fields</DD><DD><code>resultHandler</code> -  will be provided with the document, if any</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="findWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<List<Map<String, Object>>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>findWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.List&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt;&gt; resultHandler)</h4>
                                <p> Find matching documents in the specified collection, specifying options <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match documents</DD><DD><code>options</code> -  options to configure the find (see <a href="../../../../../../../cheatsheet/FindOptions.html">FindOptions</a>)</DD><DD><code>resultHandler</code> -  will be provided with list of documents</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="getCollections(Handler<AsyncResult<List<String>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>getCollections</strong>(io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.List&lt;java.lang.String&gt;&gt;&gt; resultHandler)</h4>
                                <p> Get a list of all collections in the database. <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>resultHandler</code> -  will be called with a list of collections.</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="getDelegate()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>java.lang.Object <strong>getDelegate</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="insert(java.lang.String, Map<String, Object>, Handler<AsyncResult<String>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>insert</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; document, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.String&gt;&gt; resultHandler)</h4>
                                <p> Insert a document in the specified collection
 <p>
 This operation might change <i>_id</i> field of <i>document</i> parameter <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>document</code> -  the document</DD><DD><code>resultHandler</code> -  result handler will be provided with the id if document didn't already have one</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="insertWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<String>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>insertWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; document, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.String&gt;&gt; resultHandler)</h4>
                                <p> Insert a document in the specified collection with the specified write option
 <p>
 This operation might change <i>_id</i> field of <i>document</i> parameter <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>document</code> -  the document</DD><DD><code>writeOption</code> -  the write option to use</DD><DD><code>resultHandler</code> -  result handler will be provided with the id if document didn't already have one</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="listIndexes(java.lang.String, Handler<AsyncResult<List<Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>listIndexes</strong>(java.lang.String collection, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.List&lt;java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Get all the indexes in this collection. <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="remove(java.lang.String, Map<String, Object>, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>remove</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Remove matching documents from a collection <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match documents</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="removeDocument(java.lang.String, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>removeDocument</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match document</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="removeDocumentWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>removeDocumentWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match document</DD><DD><code>writeOption</code> -  the write option to use</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="removeDocuments(java.lang.String, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>removeDocuments</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Remove matching documents from a collection and return the handler with MongoClientDeleteResult result <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match documents</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="removeDocumentsWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>removeDocumentsWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Remove matching documents from a collection with the specified write option and return the handler with MongoClientDeleteResult result <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match documents</DD><DD><code>writeOption</code> -  the write option to use</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="removeOne(java.lang.String, Map<String, Object>, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>removeOne</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Remove a single matching document from a collection <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match document</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="removeOneWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>removeOneWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Remove a single matching document from a collection with the specified write option <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match document</DD><DD><code>writeOption</code> -  the write option to use</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="removeWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>removeWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Remove matching documents from a collection with the specified write option <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match documents</DD><DD><code>writeOption</code> -  the write option to use</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="replace(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>replace</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; replace, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Replace matching documents in the specified collection
 <p>
 This operation might change <i>_id</i> field of <i>replace</i> parameter <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match the documents</DD><DD><code>replace</code> -  all matching documents will be replaced with this</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="replaceDocuments(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>replaceDocuments</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; replace, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match the documents</DD><DD><code>replace</code> -  all matching documents will be replaced with this</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="replaceDocumentsWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>replaceDocumentsWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; replace, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match the documents</DD><DD><code>replace</code> -  all matching documents will be replaced with this</DD><DD><code>options</code> -  options to configure the replace (see <a href="../../../../../../../cheatsheet/UpdateOptions.html">UpdateOptions</a>)</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="replaceWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>replaceWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; replace, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Replace matching documents in the specified collection, specifying options
 <p>
 This operation might change <i>_id</i> field of <i>replace</i> parameter <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match the documents</DD><DD><code>replace</code> -  all matching documents will be replaced with this</DD><DD><code>options</code> -  options to configure the replace (see <a href="../../../../../../../cheatsheet/UpdateOptions.html">UpdateOptions</a>)</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="runCommand(java.lang.String, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>runCommand</strong>(java.lang.String commandName, java.util.Map&lt;java.lang.String, java.lang.Object&gt; command, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Run an arbitrary MongoDB command. <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>commandName</code> -  the name of the command</DD><DD><code>command</code> -  the command</DD><DD><code>resultHandler</code> -  will be called with the result.</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="save(java.lang.String, Map<String, Object>, Handler<AsyncResult<String>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>save</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; document, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.String&gt;&gt; resultHandler)</h4>
                                <p> Save a document in the specified collection
 <p>
 This operation might change <i>_id</i> field of <i>document</i> parameter <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>document</code> -  the document</DD><DD><code>resultHandler</code> -  result handler will be provided with the id if document didn't already have one</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="saveWithOptions(java.lang.String, Map<String, Object>, io.vertx.ext.mongo.WriteOption, Handler<AsyncResult<String>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>saveWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; document, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.String&gt;&gt; resultHandler)</h4>
                                <p> Save a document in the specified collection with the specified write option
 <p>
 This operation might change <i>_id</i> field of <i>document</i> parameter <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>document</code> -  the document</DD><DD><code>writeOption</code> -  the write option to use</DD><DD><code>resultHandler</code> -  result handler will be provided with the id if document didn't already have one</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="update(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>update</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; update, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Update matching documents in the specified collection <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match the documents</DD><DD><code>update</code> -  used to describe how the documents will be updated</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="updateCollection(java.lang.String, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>updateCollection</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; update, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Update matching documents in the specified collection and return the handler with MongoClientUpdateResult result <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match the documents</DD><DD><code>update</code> -  used to describe how the documents will be updated</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="updateCollectionWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Map<String, Object>>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>updateCollectionWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; update, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;&gt; resultHandler)</h4>
                                <p> Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match the documents</DD><DD><code>update</code> -  used to describe how the documents will be updated</DD><DD><code>options</code> -  options to configure the update (see <a href="../../../../../../../cheatsheet/UpdateOptions.html">UpdateOptions</a>)</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="updateWithOptions(java.lang.String, Map<String, Object>, Map<String, Object>, Map<String, Object>, Handler<AsyncResult<Void>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../../io/vertx/groovy/ext/mongo/MongoClient.html'>MongoClient</a> <strong>updateWithOptions</strong>(java.lang.String collection, java.util.Map&lt;java.lang.String, java.lang.Object&gt; query, java.util.Map&lt;java.lang.String, java.lang.Object&gt; update, java.util.Map&lt;java.lang.String, java.lang.Object&gt; options, io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;java.lang.Void&gt;&gt; resultHandler)</h4>
                                <p> Update matching documents in the specified collection, specifying options <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>collection</code> -  the collection</DD><DD><code>query</code> -  query used to match the documents</DD><DD><code>update</code> -  used to describe how the documents will be updated</DD><DD><code>options</code> -  options to configure the update (see <a href="../../../../../../../cheatsheet/UpdateOptions.html">UpdateOptions</a>)</DD><DD><code>resultHandler</code> -  will be called when complete</DD></DL></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            
        </li>
    </ul>
</div>

<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
    <!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../../../index-all.html">Index</a></li>
        <li><a href="../../../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../../../index.html?io/vertx/groovy/ext/mongo/MongoClient" target="_top">Frames</a></li>
            <li><a href="MongoClient.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <p>Groovy Documentation</p>
    <a name="skip-navbar_bottom">
        <!--   -->
    </a>
    </div>
</div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>